package org.uninova.mobis.pojos;

import java.util.ArrayList;

/**
 * CarSharingRoute POJO
 * @author PAF
 */
public class CarSharingRoute {

	private long routeId ;					// The CarSharingDB unique ID for this route
	private long userId ;					// The CarSharingDB unique ID for the user that is owner of this route
	private int gotCar ;					// 1 = The user has its own car; 0 = The user is looking for a ride
	private ArrayList<Coordinate> coords ;	// The coordinates for this route
	public String code ;					// The Resihop.nu code for this route
	
	/**
	 * CarSharingRoute Class Constructor
	 */
	public CarSharingRoute() {}

	public long getRouteId() {
		return routeId;
	}

	public void setRouteId(long routeId) {
		this.routeId = routeId;
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public int getGotCar() {
		return gotCar;
	}

	public void setGotCar(int gotCar) {
		this.gotCar = gotCar;
	}

	public ArrayList<Coordinate> getCoords() {
		return coords;
	}

	public void setCoords(ArrayList<Coordinate> coords) {
		this.coords = coords;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

}
